<include file="public@header"/>
</head>
<body style="background-color: #E5F3E6">
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li><a href="{:url('equipment/equiptypeIndex')}">设备类型</a></li>
		<li><a href="{:url('equipment/equiptypeAdd')}">添加设备类型</a></li></li>
        <li class="active"><a>编辑设备类型</a></li>
    </ul>
    <!--js-ajax-form-->
    <form class="form-horizontal  margin-top-20"
     action="{:url('equipment/equiptypeEditPost')}" method="post">
        <div class="form-group">
            <label for="input-equipmentTypeCode" class="col-sm-2 control-label">设备类型编号</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" id="input-equipmentTypeCode" name="equipmentTypeCode" value="{$data.equipmentTypeCode}">
            </div>
        </div>
		 <div class="form-group">
            <label for="input-equipmentTypeName" class="col-sm-2 control-label">设备类型名称</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" id="input-equipmentTypeName" name="equipmentTypeName" value="{$data.equipmentTypeName}">
            </div>
        </div>

        <div class="form-group">
         	<div class="col-sm-offset-2 col-sm-10">
                <input type="hidden" name="equipmentTypeID" value="{$data.equipmentTypeID}"/>
                <button type="submit" class="btn btn-primary js-ajax-submit">{:lang('SAVE')}</button>
                <a class="btn btn-default" 
                href="{:url('admin/equipment/equiptypeIndex')}">{:lang('BACK')}</a>
            </div>
        </div>
    </form>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>